# 2. Product installation **Part 1** Components Needed ![](media/wps1.jpg) Installation Diagram ![](media/wps2.jpg) Prototype ![](media/wps3.jpg) **Part 2** Components Needed ![](media/wps4.jpg) Installation Diagram ![](media/wps5.jpg) Prototype ![](media/wps6.jpg) **Part 3** Components Needed ![](media/wps7.jpg) Installation Diagram ![](media/wps8.jpg) Prototype ![](media/wps9.jpg) **Part 4**(adjust the angle of the servo first) Adjust the angle of the servo to 90 degrees according to the test code ``` #include "Servo.h" Servo myservo; void setup() { myservo.attach(2);// attaches the servo on GIO2 to the servo object myservo.write(90); delay(500); } void loop() { } ``` Components Needed ![](media/wps10.jpg) Installation Diagram(mind the installation direction) ![](media/wps11.jpg) Prototype ![](media/wps12.jpg) **Part 5** Components Needed ![](media/wps13.jpg) Installation Diagram ![](media/wps14.jpg) Prototype ![](media/wps15.jpg) **Part 6** Components Needed ![](media/wps16.jpg) Installation Diagram ![](media/wps17.jpg) Prototype ![](media/wps18.jpg) **Part 7** Components Needed ![](media/wps19.jpg) Installation Diagram(mind the direction of the motor) ![](media/wps20.jpg) Prototype ![](media/wps21.jpg) **Part 8** Components Needed ![](media/wps22.jpg) Installation Diagram (Pay attention to the installation direction of the mecanum wheel) ![](media/wps23.jpg) Prototype ![](media/wps24.jpg) **Part 9** Components Needed ![](media/wps25.jpg) Installation Diagram ![](media/wps26.jpg) Prototype ![](media/wps27.jpg) **Part 10** Components Needed ![](media/wps28.jpg) Installation Diagram ![](media/wps29.jpg) Prototype ![](media/wps30.jpg) **Part 11** Components Needed ![](media/wps31.jpg) Installation Diagram ![](media/wps32.jpg) Prototype ![](media/wps33.jpg) **Wiring Diagram** The wiring of the servo ![](media/wps34.jpg) | Servo | Expansion Board | | ------ | --------------- | | Brown | G | | Red | 5V | | Yellow | G2 | The wiring of the ultrasonic sensor ![](media/wps35.jpg) | Ultrasonic Sensor | Expansion Board | | ----------------- | --------------- | | VCC | 5V | | TRIG | G3 | | ECHO | G4 | | GND | G | The wiring of the IR receiver module ![](media/wps36.jpg) | Driver Board | Expansion Board | | ------------ | --------------- | | GND | G | | 5V | 5V | | S5 | G6 | The wiring of the RGB ![](media/wps37.jpg) | Driver Board | Expansion Board | | ------------ | --------------- | | GND | G | | 5V | 5V | | S4 | G7 | The wiring of controlling the motor and seven-color light ![](media/wps38.jpg) | Driver Board | Expansion Board | | ------------ | --------------- | | SCL | G21 | | SDA | G20 | | 5V | 5V | | GND | G | The wiring of controlling the 3-channel line-tracking sensor ![](media/wps39.jpg) | Driver Board | Expansion Board | | ------------ | --------------- | | S1 | G18 | | S2 | G17 | | S3 | G16 | | GND | G | The wiring of the power supply ![](media/wps40.jpg) The corresponding interface of the motor ![](media/wps41.png) The installation of the battery ![](media/wps42.jpg)